﻿using System.Numerics;
using WaveSim.Core.Equations.Galerkin;

namespace WaveSim.Core.Equations
{
    public interface IEquation
    {
        /// <summary>
        /// The function is y[i]'=F(i,x,y)
        /// </summary>
        /// <param name="i">a number of equation</param>
        /// <param name="x">a value of dependence variable</param>
        /// <param name="y"></param>
        /// <returns></returns>
        Complex Get(int i, double x, Complex[] y);
    }
}
